package com.coldchain.common.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum AccountStatusEnum implements IEnum<Integer> {
    /**
     * 正常
     */
    NORMAL(0),

    /**
     * 启用
     */
    ENABLE(1),

    /**
     * 黑名单
     */
    DISABLE(2);



    private int status;

    AccountStatusEnum(int status) {
        this.status = status;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public Integer getValue() {
        return this.getStatus();
    }

    @Override
    public String toString() {
        return status+"";
    }
}
